package cn.wygandwdn.core.registry;

import java.net.InetSocketAddress;

/**
 * @description:    服务发现接口
 * @author: WYG
 * @time: 2021/10/25 14:56
 */

public interface ServiceDiscovery {

    /**
     * 通过服务名发现服务
     * @param serviceName
     * @return
     */
    InetSocketAddress lookupService(String serviceName);

}
